<?php
use_helper('I18N');
//include_partial("initfacebook", array("facebook"=>$facebook, "session"=>$session));
?>
<?php use_dynamic_javascript('@dynamic_js?js_name=main')?>
<div class="container_12 how_work main_content">
    <?php include_partial("suggerimenti_it")?>
    <div class="clear">
    </div>
    <?php include_partial("top_area")?>
    <div class="clear">
    </div>
    <div id="tabs" class="container_12">
        <ul>
            <li>
                <a href="#tab_search">Search</a>
            </li>
            <li>
                <a href="#tab_playlist">My Playists</a>
            </li>
            <li>
                <a href="#tab_suggested">Suggested</a>
            </li>
            <li>
                <a href="#tab_live">Live Stream</a>
            </li>
        </ul>
        <div id="tab_search">
            <form action="#" method="post">
                <fieldset>
                    <label for="search_title">
                        Titolo 
                    </label>
                    <input type="text" id="txtRicerca" name="serch[title]" /><input type="button" onclick="ricercavideo()" value="Cerca" />
                </fieldset>
            </form>
            <div id="risultatoricerca">
                Risultato Ricerca
            </div>
            <?php include_partial('playlist/addToPlaylist');?>
        </div>
        <div id="tab_playlist">
            <p>
                Palylist utente
            </p>
        </div>
        <div id="tab_suggested">
            <p>
                Suggerimenti
            </p>
        </div>
        <div id="tab_live">
            <p>
                <?php //include_partial("livestream")?>
            </p>
        </div>
    </div>
</div>
<?php javascript_tag();?>
  $(function() {
    $("#tabs").tabs();
  });
<?php end_javascript_tag()?>